package com.hk.core.authentication.api.validatecode.sms;

import com.hk.commons.sms.SmsSender;
import com.hk.core.authentication.api.validatecode.AbstractValidateCodeProcessor;
import com.hk.core.authentication.api.validatecode.ValidateCodeStrategy;

/**
 * 短信验证码发送
 *
 * @author kevin
 * @date 2018-07-27 14:38
 */
public abstract class AbstractSmsValidateCodeProcessor extends AbstractValidateCodeProcessor<SmsValidateCode> {

    /**
     * 短信验证码发送器
     */
    protected final SmsSender<?> smsSender;

    protected AbstractSmsValidateCodeProcessor(SmsSender<?> smsSender,
                                               ValidateCodeStrategy<SmsValidateCode> validateCodeStrategy) {
        super(null, validateCodeStrategy);//TODO:
        this.smsSender = smsSender;
    }

}
